SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '640b8f34120565acda83a9f7ec7bc155f1e9b1bf60738f015cb4e3eb246d726e' 
  AND token = 'UcZc8ygxN2TJYHgksd1DDvuN29DPz/kCCHncFCES7kg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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