SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a39ca261147cfd255208afe116c86b018075c461695e8235a5901713932ca4f8' 
  AND token = 'Fn1wljfjhDxCEIT0IEB0afRjheGyxL4i8P6whHkP03k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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