SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '502a89a4bc5c0162749fc3f786831d3b3a8a9dcd0166e7416d688fb35467efbf' 
  AND token = 'CAVvCtfsWDoSsGXTSMgduuCt5Jc0spmvil90K6xqJR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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