SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c51996875ef0980a16983786a7e2a53cf4937215b26cdaa398e23ac0d90477e' 
  AND token = 'GQbbMtWP1GvaWzCRFlQpt+ID7Ki3Ws2NHLcrK8WkxV8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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