SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '370064ddfc8f1f444a2194ade1dc29ffc6c6e2a8a724f4a3790ae17f7d767c8c' 
  AND token = 'gOCy3kuDL1ws2TA1fjPlVi4QsM4nKzbJ+ctCSVrYYOs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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