SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5945744378754c1b8e082a474a48f5011408998edb6a437abdef86ee954b244' 
  AND token = '6B8xoNA+w+dosweq8RpSOlppON7kaqAwkWVtIY3F4+w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}