SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a4f449a6afba5bf310effe36fc9492d186bf64350835ab3997ff8c1bf535ac0' 
  AND token = 'S7jwQBeQ1VjYZomz8Pu/cIzcza7TFPT5xbOHkPvacu4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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