SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c52cea0a0366ebd9cb516fa86c1c3e8e8947eb1c76a7cc46eb99440e64f56c2' 
  AND token = 'R7HYzDtFiYLuvPepjJHk03e4dL0ueGwatVDWiwJ1xEw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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