SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a6ef8d13dbff9c9f8690bab61f4e02d572d761e15c440eebf7368a79e7a802e' 
  AND token = 'smMBt5hfcHDaHRbH8QywR8Cl2wLMYuC2xSy06vOzYRQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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