SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e1de1df3d19648f0162a46661f791b3efd27f4950f1ba3523bd84fb4981a050' 
  AND token = 'DksdVkqa/qz2EHpD1naWqplndC9aUdkvGR8P8VcthuA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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