SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ceba09be4b321cccb7e074c27c9ea81d3dd37df029fdb8db8e354159ec2240b9' 
  AND token = 'PTMf/53NOTRHh6t+JQet4K8zN4tk4YD2JCJvC7ggrZQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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